home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc1_2_x / reftrckr.sit / RT 1.6 / background_30235.txt < prev    next >
Text File  |  1990-04-19  |  24KB  |  928 lines

  1. -- background: 30235 from stack: in.6
  2. -- bmap block id: 50081
  3. -- flags: 4000
  4. -- background id: 0
  5. -- name: 
  6.  
  7.  
  8. -- part 6 (field)
  9. -- low flags: 00
  10. -- high flags: 0002
  11. -- rect: left=74 top=32 right=67 bottom=508
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 3
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: Author
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   global toBeFound,whereToSearch,howToSearch
  23.   put "Author" into whereToSearch
  24.   hide msg
  25.   put msg into toBeFound
  26.   if word 2 of msg is not empty then
  27.     put "whole" into howToSearch
  28.   else
  29.     put empty into howToSearch
  30.   end if
  31.   QuickFind
  32. end mouseUp
  33.  
  34.  
  35. -- part 10 (field)
  36. -- low flags: 00
  37. -- high flags: 0002
  38. -- rect: left=74 top=70 right=121 bottom=508
  39. -- title width / last selected line: 0
  40. -- icon id / first selected line: 0 / 0
  41. -- text alignment: 0
  42. -- font id: 3
  43. -- text size: 12
  44. -- style flags: 0
  45. -- line height: 16
  46. -- part name: Title
  47. ----- HyperTalk script -----
  48. on mouseUp
  49.   global toBeFound,whereToSearch,howToSearch
  50.   put "Title" into whereToSearch
  51.   hide msg
  52.   put msg into toBeFound
  53.   if word 2 of msg is not empty then
  54.     put "whole" into howToSearch
  55.   else
  56.     put empty into howToSearch
  57.   end if
  58.   QuickFind
  59. end mouseUp
  60.  
  61.  
  62. -- part 14 (field)
  63. -- low flags: 00
  64. -- high flags: 0002
  65. -- rect: left=74 top=124 right=175 bottom=508
  66. -- title width / last selected line: 0
  67. -- icon id / first selected line: 0 / 0
  68. -- text alignment: 0
  69. -- font id: 3
  70. -- text size: 12
  71. -- style flags: 0
  72. -- line height: 16
  73. -- part name: Source
  74. ----- HyperTalk script -----
  75. on mouseUp
  76.   global toBeFound,whereToSearch,howToSearch
  77.   put "Source" into whereToSearch
  78.   hide msg
  79.   put msg into toBeFound
  80.   if word 2 of msg is not empty then
  81.     put "whole" into howToSearch
  82.   else
  83.     put empty into howToSearch
  84.   end if
  85.   QuickFind
  86. end mouseUp
  87.  
  88.  
  89. -- part 16 (field)
  90. -- low flags: 00
  91. -- high flags: 0007
  92. -- rect: left=74 top=178 right=261 bottom=508
  93. -- title width / last selected line: 0
  94. -- icon id / first selected line: 0 / 0
  95. -- text alignment: 0
  96. -- font id: 3
  97. -- text size: 12
  98. -- style flags: 0
  99. -- line height: 16
  100. -- part name: Comments
  101. ----- HyperTalk script -----
  102. on mouseUp
  103.   global toBeFound,whereToSearch,howToSearch
  104.   put "Comments" into whereToSearch
  105.   hide msg
  106.   put msg into toBeFound
  107.   if word 2 of msg is not empty then
  108.     put "whole" into howToSearch
  109.   else
  110.     put empty into howToSearch
  111.   end if
  112.   QuickFind
  113. end mouseUp
  114.  
  115.  
  116. -- part 18 (button)
  117. -- low flags: 00
  118. -- high flags: 2000
  119. -- rect: left=127 top=316 right=342 bottom=162
  120. -- title width / last selected line: 0
  121. -- icon id / first selected line: 27009 / 27009
  122. -- text alignment: 1
  123. -- font id: 0
  124. -- text size: 12
  125. -- style flags: 0
  126. -- line height: 16
  127. -- part name: Forward
  128. ----- HyperTalk script -----
  129. on mouseUp
  130.   if the optionKey is down then
  131.     set cursor to Signal
  132.     visual effect dissolve very fast
  133.     go to last cd of this bkgnd
  134.   else if the shiftKey is down then
  135.     helpButton "RIGHT ARROW:  Advances to the next article","Up"
  136.   else
  137.     visual effect scroll left
  138.     go next cd of this bkgnd
  139.   end if
  140. end mouseUp
  141.  
  142.  
  143.  
  144. -- part 19 (button)
  145. -- low flags: 00
  146. -- high flags: 2000
  147. -- rect: left=67 top=316 right=342 bottom=102
  148. -- title width / last selected line: 0
  149. -- icon id / first selected line: 9301 / 9301
  150. -- text alignment: 1
  151. -- font id: 0
  152. -- text size: 12
  153. -- style flags: 0
  154. -- line height: 16
  155. -- part name: Backward
  156. ----- HyperTalk script -----
  157. on mouseUp
  158.   if the optionKey is down then
  159.     set cursor to Signal
  160.     visual effect dissolve very fast
  161.     go first cd of this bkgnd
  162.   else if the shiftKey is down then
  163.     helpButton "LEFT ARROW:  Goes back to the previous article","Up"
  164.   else
  165.     visual effect scroll right
  166.     go to prev cd of this bkgnd
  167.   end if
  168. end mouseUp
  169.  
  170.  
  171.  
  172. -- part 33 (button)
  173. -- low flags: 00
  174. -- high flags: 2000
  175. -- rect: left=17 top=212 right=244 bottom=51
  176. -- title width / last selected line: 0
  177. -- icon id / first selected line: 0 / 0
  178. -- text alignment: 1
  179. -- font id: 0
  180. -- text size: 12
  181. -- style flags: 0
  182. -- line height: 16
  183. -- part name: Search
  184. ----- HyperTalk script -----
  185. on mouseUp
  186.   global toBeFound,whereToSearch,howToSearch,fromMenu
  187.  
  188.   if the shiftKey is down then
  189.     helpButton "FIND:  Searches for the specified text in the specified field"
  190.  
  191.   else
  192.     hide msg
  193.     put "All" into whereToSearch
  194.     ask "Enter text to find:" with toBeFound
  195.     set cursor to RegFind
  196.  
  197.     if it is not empty then
  198.       put it into toBeFound
  199.       put the short name of bkgnd button id 79 into whereToSearch
  200.       if word 2 of toBeFound is not empty then
  201.         put "whole" into howToSearch
  202.       else
  203.         put empty into howToSearch
  204.       end if
  205.       FindIt
  206.     end if
  207.     put toBeFound into bkgnd field id 80
  208.   end if
  209. end mouseUp
  210.  
  211.  
  212.  
  213. -- part 40 (button)
  214. -- low flags: 00
  215. -- high flags: 2000
  216. -- rect: left=26 top=149 right=170 bottom=47
  217. -- title width / last selected line: 0
  218. -- icon id / first selected line: 0 / 0
  219. -- text alignment: 1
  220. -- font id: 0
  221. -- text size: 12
  222. -- style flags: 0
  223. -- line height: 16
  224. -- part name: Make Report
  225. ----- HyperTalk script -----
  226. on mouseUp
  227.   if the shiftKey is down then
  228.     helpButton "TO DISK:  Writes the information in the current card to a disk file"
  229.   else
  230.     global fn,var,JA,CommIn
  231.     if var is empty then
  232.       set cursor to 4
  233.       put "List oΓÇÖ Refs" into shortFile
  234.       put NewFileName( "Save file as:" , (shortFile) ) into fn
  235.       if fn is empty or char 1 of fn is "ΓÇö" then
  236.         exit mouseUp
  237.       end if
  238.       if fn is not empty then
  239.         open file fn
  240.         put "full" into var
  241.         answer return & "Do you want the ΓÇÿCommentsΓÇÖ section included or excluded?" with "Include" or "Exclude"
  242.         put it into CommIn
  243.         EnableMenu 1, 10, true
  244.       end if
  245.     end if
  246.     if var is not empty and fn is not empty then PutToDisk
  247.   end if
  248. end mouseUp
  249.  
  250. on PutToDisk
  251.   global fn,var,JA,CommIn
  252.   set cursor to busy
  253.  
  254.   get the number of words of line 1 of field author
  255.   put it into x
  256.   repeat with j = 1 to x-1
  257.     write word(j) of line 1 of field author to file fn
  258.     write " " to file fn
  259.   end repeat
  260.   if last char of word(x) of line 1 of field author is "." or last char of word(x) of line 1 of field author is "?" or last char of word(x) of line 1 of field author is "!" then
  261.     write word(x) of line 1 of field author & "  " to file fn
  262.   else
  263.     write word(x) of line 1 of field author & ".  " to file fn
  264.   end if
  265.   set cursor to busy
  266.  
  267.   get the number of words of line 1 of field title
  268.   put it into x
  269.   repeat with j = 1 to x-1
  270.     write word(j) of line 1 of field title to file fn
  271.     write " " to file fn
  272.   end repeat
  273.   if last char of word(x) of line 1 of field title is "." or last char of word(x) of line 1 of field title is "?" or last char of word(x) of line 1 of field title is "!" then
  274.     write word(x) of line 1 of field title & "  " to file fn
  275.   else
  276.     write word(x) of line 1 of field title & ".  " to file fn
  277.   end if
  278.   set cursor to busy
  279.  
  280.   get line 1 of field source
  281.   put it into JA
  282.   ConvertJournal
  283.   get the number of words of JA
  284.   put it into x
  285.   repeat with j = 1 to x-1
  286.     write word(j) of JA to file fn
  287.     write " " to file fn
  288.   end repeat
  289.   if last char of word(x) of JA is not "." and last char of word(x) of JA is not "?" and last char of word(x) of JA is not "!" then
  290.     write word(x) of JA & "." to file fn
  291.   else
  292.     write word(x) of JA to file fn
  293.   end if
  294.   set cursor to busy
  295.  
  296.   if CommIn is "Include" then
  297.     write "  " to file fn
  298.   else
  299.     write return to file fn
  300.     exit PutToDisk
  301.   end if
  302.   set cursor to busy
  303.  
  304.   if CommIn is "Include" then
  305.     get line 1 of field comments
  306.     if it is empty then
  307.       write "No comments." & return to file fn
  308.     else
  309.       write "Comments:  " & it to file fn
  310.       write return to file fn
  311.     end if
  312.   end if
  313. end PutToDisk
  314.  
  315.  
  316.  
  317. -- part 41 (button)
  318. -- low flags: 00
  319. -- high flags: 2000
  320. -- rect: left=26 top=49 right=70 bottom=47
  321. -- title width / last selected line: 0
  322. -- icon id / first selected line: 0 / 0
  323. -- text alignment: 1
  324. -- font id: 0
  325. -- text size: 12
  326. -- style flags: 0
  327. -- line height: 16
  328. -- part name: Help
  329. ----- HyperTalk script -----
  330. on mouseUp
  331.   if the shiftKey is down then
  332.     helpButton "HELP:  Displays the help card, which describes the other functions"
  333.   else
  334.     set cursor to "Help"
  335.     push cd
  336.     set lockScreen to true
  337.     global exempt
  338.     put "Yes" into exempt
  339.     go to cd "Help Card"
  340.     doDatDate
  341.     hide cd field "HoldingArea"
  342.     set lockScreen to false
  343.   end if
  344. end mouseUp
  345.  
  346.  
  347.  
  348. -- part 44 (field)
  349. -- low flags: 00
  350. -- high flags: 0002
  351. -- rect: left=74 top=264 right=316 bottom=421
  352. -- title width / last selected line: 0
  353. -- icon id / first selected line: 0 / 0
  354. -- text alignment: 0
  355. -- font id: 3
  356. -- text size: 12
  357. -- style flags: 0
  358. -- line height: 16
  359. -- part name: Keywords
  360. ----- HyperTalk script -----
  361. on mouseUp
  362.   global toBeFound,whereToSearch,howToSearch
  363.   put "Keywords" into whereToSearch
  364.   hide msg
  365.   put msg into toBeFound
  366.   if word 2 of msg is not empty then
  367.     put "whole" into howToSearch
  368.   else
  369.     put empty into howToSearch
  370.   end if
  371.   QuickFind
  372. end mouseUp
  373.  
  374.  
  375. -- part 66 (button)
  376. -- low flags: 00
  377. -- high flags: 2000
  378. -- rect: left=12 top=34 right=49 bottom=59
  379. -- title width / last selected line: 0
  380. -- icon id / first selected line: 0 / 0
  381. -- text alignment: 1
  382. -- font id: 0
  383. -- text size: 12
  384. -- style flags: 0
  385. -- line height: 16
  386. -- part name: AuthorButton
  387. ----- HyperTalk script -----
  388. on mouseUp
  389.   if the shiftKey is down then
  390.     helpButton "Example:  ΓÇ£Smith, R. J., & Jones, C. B. Jr. (1978)ΓÇ¥"
  391.   else
  392.     set the name of bkgnd button id 79 to "Author"
  393.   end if
  394. end mouseUp
  395.  
  396.  
  397.  
  398. -- part 67 (button)
  399. -- low flags: 00
  400. -- high flags: 2000
  401. -- rect: left=16 top=71 right=86 bottom=54
  402. -- title width / last selected line: 0
  403. -- icon id / first selected line: 0 / 0
  404. -- text alignment: 1
  405. -- font id: 0
  406. -- text size: 12
  407. -- style flags: 0
  408. -- line height: 16
  409. -- part name: TitleButton
  410. ----- HyperTalk script -----
  411. on mouseUp
  412.   if the shiftKey is down then
  413.     helpButton "Example:  ΓÇ£Forgetting and repressing:  Is there a difference?ΓÇ¥"
  414.   else
  415.     set the name of bkgnd button id 79 to "Title"
  416.   end if
  417. end mouseUp
  418.  
  419.  
  420.  
  421. -- part 68 (button)
  422. -- low flags: 00
  423. -- high flags: 2000
  424. -- rect: left=15 top=125 right=140 bottom=58
  425. -- title width / last selected line: 0
  426. -- icon id / first selected line: 0 / 0
  427. -- text alignment: 1
  428. -- font id: 0
  429. -- text size: 12
  430. -- style flags: 0
  431. -- line height: 16
  432. -- part name: SourceButton
  433. ----- HyperTalk script -----
  434. on mouseUp
  435.   if the shiftKey is down then
  436.     helpButton "Example:  ΓÇ£JEP:  LMC, 9, 432-445.ΓÇ¥"
  437.   else
  438.     set the name of bkgnd button id 79 to "Source"
  439.   end if
  440. end mouseUp
  441.  
  442.  
  443.  
  444. -- part 69 (button)
  445. -- low flags: 00
  446. -- high flags: 2000
  447. -- rect: left=2 top=179 right=194 bottom=71
  448. -- title width / last selected line: 0
  449. -- icon id / first selected line: 0 / 0
  450. -- text alignment: 1
  451. -- font id: 0
  452. -- text size: 12
  453. -- style flags: 0
  454. -- line height: 16
  455. -- part name: CommentsButton
  456. ----- HyperTalk script -----
  457. on mouseUp
  458.   if the shiftKey is down then
  459.     helpButton "This space is for any comments you have; there is no special format"
  460.   else
  461.     set the name of bkgnd button id 79 to "Comments"
  462.   end if
  463. end mouseUp
  464.  
  465.  
  466.  
  467. -- part 71 (button)
  468. -- low flags: 00
  469. -- high flags: 2000
  470. -- rect: left=2 top=266 right=282 bottom=70
  471. -- title width / last selected line: 0
  472. -- icon id / first selected line: 0 / 0
  473. -- text alignment: 1
  474. -- font id: 0
  475. -- text size: 12
  476. -- style flags: 0
  477. -- line height: 16
  478. -- part name: KeywordsButton
  479. ----- HyperTalk script -----
  480. on mouseUp
  481.   if the shiftKey is down then
  482.     helpButton "Example:  ΓÇ£short-term memory, suffix, prefix, recencyΓÇ¥","Up"
  483.   else
  484.     set the name of bkgnd button id 79 to "Keywords"
  485.   end if
  486. end mouseUp
  487.  
  488.  
  489.  
  490. -- part 72 (button)
  491. -- low flags: 00
  492. -- high flags: 2000
  493. -- rect: left=7 top=296 right=328 bottom=64
  494. -- title width / last selected line: 0
  495. -- icon id / first selected line: 0 / 0
  496. -- text alignment: 1
  497. -- font id: 0
  498. -- text size: 12
  499. -- style flags: 0
  500. -- line height: 16
  501. -- part name: Find Next
  502. ----- HyperTalk script -----
  503. on mouseUp
  504.   if the shiftKey is down then
  505.     helpButton "FIND AGAIN:  Searches for the next occurrence of the specified text","Up"
  506.   else
  507.     global beenThere,toBeFound,PriorCard,whereToSearch
  508.     set cursor to AgainFind
  509.     set lockScreen to true
  510.     if toBeFound is empty then
  511.       answer return & "You have not indicated anything to find." with "Ok"
  512.       EnableMenu 1, 3, false
  513.       exit mouseUp
  514.     end if
  515.     put the number of this cd into tempCardNum
  516.     put the name of this cd into tempPriorCard
  517.     go next cd of this bkgnd
  518.     put empty into bkgnd field id 80
  519.     type return
  520.  
  521.     if the short name of this cd is "Help Card" then
  522.       go next cd
  523.       type return
  524.     end if
  525.  
  526.     if the number of this cd is beenThere then
  527.       go to card tempCardNum
  528.       beep
  529.       set lockScreen to false
  530.       if whereToSearch is "All" then
  531.         answer return & "There are no more occurrences of ΓÇÿ" & toBeFound & "ΓÇÖ in any field." with "Ok"
  532.       else
  533.         answer return & "There are no more occurrences of ΓÇÿ" & toBeFound & "ΓÇÖ in the ΓÇÿ" & whereToSearch & "ΓÇÖ field." with "Ok"
  534.       end if
  535.     else
  536.       set lockScreen to false
  537.       put tempPriorCard into PriorCard
  538.     end if
  539.     set cursor to RegFind
  540.     put toBeFound into bkgnd field id 80
  541.   end if
  542. end mouseUp
  543.  
  544.  
  545.  
  546. -- part 73 (field)
  547. -- low flags: 01
  548. -- high flags: 0002
  549. -- rect: left=425 top=299 right=316 bottom=460
  550. -- title width / last selected line: 0
  551. -- icon id / first selected line: 0 / 0
  552. -- text alignment: 1
  553. -- font id: 0
  554. -- text size: 12
  555. -- style flags: 0
  556. -- line height: 16
  557. -- part name: Possession
  558. ----- HyperTalk script -----
  559. on mouseDown
  560.   if the shiftKey is down then
  561.     helpButton "A ΓÇÿYesΓÇÖ indicates you have this reprint, a ΓÇÿNoΓÇÖ indicates you do not","Up"
  562.   else if the commandKey is down then
  563.     global toBeFound,whereToSearch,howToSearch
  564.     put "Possession" into whereToSearch
  565.     put bkgnd field id 73 into msg
  566.     set the name of bkgnd button id 79 to "Possession"
  567.     hide msg
  568.     put msg into toBeFound
  569.     put empty into howToSearch
  570.     QuickFind
  571.   else
  572.     global m_item
  573.     put the rect of bkgnd field id 73 into it
  574.     put item 1 of it +1 into left
  575.     put item 2 of it into top
  576.     put "0,?;0,No;0,Yes"into mem_def1
  577.     Put HPopUpMenu(mem_def1,top,left,3) into m_item
  578.     if m_item is "none" or m_item is empty or m_item is "error" then
  579.       exit mouseDown
  580.     else
  581.       put m_item into bkgnd field id 73
  582.     end if
  583.   end if
  584. end mouseDown
  585.  
  586.  
  587. -- part 75 (field)
  588. -- low flags: 01
  589. -- high flags: 0002
  590. -- rect: left=464 top=299 right=316 bottom=508
  591. -- title width / last selected line: 0
  592. -- icon id / first selected line: 0 / 0
  593. -- text alignment: 1
  594. -- font id: 0
  595. -- text size: 12
  596. -- style flags: 0
  597. -- line height: 16
  598. -- part name: Status
  599. ----- HyperTalk script -----
  600. on mouseDown
  601.   if the shiftKey is down then
  602.     helpButton "Indicates the current status of this article","Up"
  603.   else if the commandKey is down then
  604.     global toBeFound,whereToSearch,howToSearch
  605.     put "Status" into whereToSearch
  606.     put bkgnd field id 75 into msg
  607.     set the name of bkgnd button id 79 to "Status"
  608.     hide msg
  609.     put msg into toBeFound
  610.     put empty into howToSearch
  611.     QuickFind
  612.   else
  613.     global m_item
  614.     put the rect of bkgnd field id 75 into it --left,top,right,bottom
  615.     put item 1 of it +1 into left
  616.     put item 2 of it into top                 --actually the right side
  617.     put "0,New;0,Get;0,Read;0, "into mem_def1
  618.     Put HPopUpMenu(mem_def1,top,left,4) into m_item
  619.     if m_item is "none" or m_item is empty or m_item is "error" then
  620.       exit mouseDown
  621.     else
  622.       put m_item into bkgnd field id 75
  623.     end if
  624.   end if
  625. end mouseDown
  626.  
  627.  
  628. -- part 79 (button)
  629. -- low flags: 00
  630. -- high flags: 8002
  631. -- rect: left=425 top=319 right=338 bottom=508
  632. -- title width / last selected line: 0
  633. -- icon id / first selected line: 0 / 0
  634. -- text alignment: 1
  635. -- font id: 0
  636. -- text size: 12
  637. -- style flags: 0
  638. -- line height: 16
  639. -- part name: Author
  640. ----- HyperTalk script -----
  641. on mouseDown
  642.   if the shiftKey is down then
  643.     helpButton "Indicates the current search field","Up"
  644.   else
  645.     global m_item
  646.     put the rect of bkgnd button id 79 into it  --left,top,right,bottom
  647.     put item 1 of it +1 into left
  648.     put item 2 of it into top                -- actually the right side
  649.     put "0,Possession;0,DateMade;0,Status;0,All;0,Title;" into mem_def1
  650.     put "0,Source;0,Keywords;0,Comments;0,Author"after mem_def1
  651.     Put HPopUpMenu(mem_def1,top,left,9) into m_item
  652.     if m_item is "none" or m_item is empty or m_item is "error" then
  653.       exit mouseDown
  654.     else
  655.       set the name of me to m_item
  656.     end if
  657.   end if
  658. end mouseDown
  659.  
  660.  
  661. -- part 80 (field)
  662. -- low flags: 00
  663. -- high flags: 0002
  664. -- rect: left=166 top=319 right=338 bottom=421
  665. -- title width / last selected line: 0
  666. -- icon id / first selected line: 0 / 0
  667. -- text alignment: 0
  668. -- font id: 3
  669. -- text size: 12
  670. -- style flags: 0
  671. -- line height: 16
  672. -- part name: Thing
  673. ----- HyperTalk script -----
  674. on mouseUp
  675.   global toBeFound,whereToSearch,howToSearch
  676.   put the short name of bkgnd button id 79 into whereToSearch
  677.   hide msg
  678.   put msg into toBeFound
  679.   if word 2 of msg is not empty then
  680.     put "whole" into howToSearch
  681.   else
  682.     put empty into howToSearch
  683.   end if
  684.   FindIt
  685. end mouseUp
  686.  
  687.  
  688. -- part 81 (button)
  689. -- low flags: 00
  690. -- high flags: 2000
  691. -- rect: left=105 top=319 right=339 bottom=126
  692. -- title width / last selected line: 0
  693. -- icon id / first selected line: 0 / 0
  694. -- text alignment: 1
  695. -- font id: 0
  696. -- text size: 12
  697. -- style flags: 0
  698. -- line height: 16
  699. -- part name: FindToo
  700. ----- HyperTalk script -----
  701. on mouseUp
  702.   if the shiftKey is down then
  703.     helpButton "FIND:  Searches for the text specified in the field to the right","Up"
  704.   else
  705.     set cursor to RegFind
  706.     global toBeFound,whereToSearch,howToSearch
  707.     put the short name of bkgnd button id 79 into whereToSearch
  708.     put bkgnd field id 80 into toBeFound
  709.     if toBeFound is empty then
  710.       answer return & "You have not indicated anything to find." with "Ok"
  711.       EnableMenu 1, 3, false
  712.       exit mouseUp
  713.     end if
  714.     if word 2 of bkgnd field id 80 is not empty then
  715.       put "whole" into howToSearch
  716.     else
  717.       put empty into howToSearch
  718.     end if
  719.     hide msg
  720.     put empty into bkgnd field id 80
  721.     FindIt
  722.   end if
  723. end mouseUp
  724.  
  725.  
  726.  
  727. -- part 82 (field)
  728. -- low flags: 01
  729. -- high flags: 0002
  730. -- rect: left=425 top=279 right=296 bottom=508
  731. -- title width / last selected line: 0
  732. -- icon id / first selected line: 0 / 0
  733. -- text alignment: 1
  734. -- font id: 0
  735. -- text size: 12
  736. -- style flags: 0
  737. -- line height: 16
  738. -- part name: DateMade
  739. ----- HyperTalk script -----
  740. on mouseUp
  741.   if the shiftKey is down then
  742.     helpButton "Indicates the date the card was made; 10/30/89 is the default date","Up"
  743.   else if the commandKey is down then
  744.     global toBeFound,whereToSearch,howToSearch
  745.     put "DateMade" into whereToSearch
  746.     hide msg
  747.     put msg into toBeFound
  748.     put empty into howToSearch
  749.     set the name of bkgnd button id 79 to "DateMade"
  750.     QuickFind
  751.   else if the optionKey is down then
  752.     get the short date
  753.     put it into bkgnd field id 82
  754.   end if
  755. end mouseUp
  756.  
  757.  
  758. -- part 83 (button)
  759. -- low flags: 00
  760. -- high flags: 2000
  761. -- rect: left=26 top=96 right=119 bottom=46
  762. -- title width / last selected line: 0
  763. -- icon id / first selected line: 0 / 0
  764. -- text alignment: 1
  765. -- font id: 0
  766. -- text size: 12
  767. -- style flags: 0
  768. -- line height: 16
  769. -- part name: ClipBoardButton
  770. ----- HyperTalk script -----
  771. on mouseUp
  772.   if the shiftKey is down then
  773.     helpButton "TO CLIPBOARD:  Copies the current information to special clipboard"
  774.   else
  775.  
  776.     global JA, CommIn
  777.  
  778.     if CommIn is empty then
  779.       answer return & "Do you want the ΓÇÿCommentsΓÇÖ section included or excluded?" with "Include" or "Exclude"
  780.       put it into CommIn
  781.       EnableMenu 2, 2, true
  782.     end if
  783.     set cursor to busy
  784.  
  785.     get the number of words of line 1 of field author
  786.     put it into x
  787.     put empty into temp
  788.     repeat with j = 1 to x-1
  789.       put word(j) of line 1 of field author after temp
  790.       put " " after temp
  791.     end repeat
  792.     if last char of word(x) of line 1 of field author is "." or last char of word(x) of line 1 of field author is "?" or last char of word(x) of line 1 of field author is "!" then
  793.       put word(x) of line 1 of field author & "  " after temp
  794.     else
  795.       put word(x) of line 1 of field author & ".  " after temp
  796.     end if
  797.     set cursor to busy
  798.  
  799.     get the number of words of line 1 of field title
  800.     put it into x
  801.     repeat with j = 1 to x-1
  802.       put word(j) of line 1 of field title after temp
  803.       put " " after temp
  804.     end repeat
  805.     if last char of word(x) of line 1 of field title is "." or last char of word(x) of line 1 of field title is "?" or last char of word(x) of line 1 of field title is "!" then
  806.       put word(x) of line 1 of field title & "  " after temp
  807.     else
  808.       put word(x) of line 1 of field title & ".  " after temp
  809.     end if
  810.     set cursor to busy
  811.  
  812.     get line 1 of field source
  813.     put it into JA
  814.     ConvertJournal
  815.     get the number of words of JA
  816.     put it into x
  817.     repeat with j = 1 to x-1
  818.       put word(j) of JA after temp
  819.       put " " after temp
  820.     end repeat
  821.     if last char of word(x) of JA is not "." and last char of word(x) of JA is not "?" and last char of word(x) of JA is not "!" then
  822.       put word(x) of JA & "." after temp
  823.     else
  824.       put word(x) of JA after temp
  825.     end if
  826.     set cursor to busy
  827.  
  828.     if CommIn is "Include" then
  829.       put "  " after temp
  830.       get line 1 of field comments
  831.       if it is empty then
  832.         put "No comments." & return after temp
  833.       else
  834.         put "Comments:  " & it after temp
  835.         put return after temp
  836.       end if
  837.     else
  838.       put return after temp
  839.     end if
  840.     set cursor to busy
  841.  
  842.     set lockScreen to true
  843.     push cd
  844.     go to cd "Help Card"
  845.     put temp after cd field "HoldingArea" of cd "Help Card"
  846.     type tab
  847.     doMenu "Copy Text"
  848.     pop cd
  849.     set lockScreen to false
  850.     set cursor to busy
  851.  
  852.   end if
  853.  
  854. end mouseUp
  855.  
  856.  
  857. -- part 85 (field)
  858. -- low flags: 01
  859. -- high flags: 0000
  860. -- rect: left=20 top=0 right=28 bottom=483
  861. -- title width / last selected line: 0
  862. -- icon id / first selected line: 0 / 0
  863. -- text alignment: 0
  864. -- font id: 3
  865. -- text size: 12
  866. -- style flags: 0
  867. -- line height: 16
  868. -- part name: 
  869.  
  870.  
  871. -- part 87 (button)
  872. -- low flags: 00
  873. -- high flags: 2000
  874. -- rect: left=3 top=4 right=19 bottom=18
  875. -- title width / last selected line: 0
  876. -- icon id / first selected line: 0 / 0
  877. -- text alignment: 1
  878. -- font id: 0
  879. -- text size: 12
  880. -- style flags: 0
  881. -- line height: 16
  882. -- part name: Exit
  883. ----- HyperTalk script -----
  884. on mouseUp
  885.   if the shiftKey is down then
  886.     helpButton "EXIT:  Quits HyperCard and returns to finder"
  887.   else
  888.     answer return & "          About to exit" & return &"     ΓÇÿReference TrackerΓÇÖ" with "Cancel" or "Home" or "Proceed"
  889.     if it is "Proceed" then
  890.       set cursor to 4
  891.       visual effect barn door close
  892.       doMenu "Quit HyperCard"
  893.     else if it is "Home" then
  894.       go to Home
  895.     end if
  896.   end if
  897. end mouseUp
  898.  
  899.  
  900. -- part 88 (button)
  901. -- low flags: 00
  902. -- high flags: 0000
  903. -- rect: left=424 top=264 right=277 bottom=509
  904. -- title width / last selected line: 0
  905. -- icon id / first selected line: 0 / 0
  906. -- text alignment: 1
  907. -- font id: 0
  908. -- text size: 12
  909. -- style flags: 0
  910. -- line height: 16
  911. -- part name: Arrows Move Cursor
  912. ----- HyperTalk script -----
  913. on mouseUp
  914.   if the shiftKey is down then
  915.     helpButton "TEXT ARROWS: lets arrow keys move cursor in fields when selected","Up"
  916.   else
  917.     if hilite of me is true then
  918.       set hilite of me to false
  919.       set textArrows to false
  920.       CheckMenu 2, 3, false
  921.     else
  922.       set hilite of me to true
  923.       set textArrows to true
  924.       CheckMenu 2, 3, true
  925.     end if
  926.   end if
  927. end mouseUp
  928.